package com.platform.dao;

import com.platform.entity.AuditEntity;
import com.platform.utils.Query;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program:
 * @Description: 会员管理:审核管理 包含未审核 及 审核通过
 * @Author: liweihai
 * @Date: Created in 2019/1/21 18:44
 */
public interface AuditDao extends BaseDao<AuditEntity> {


    int updateAudit(AuditEntity entity);

    int saveAudit(AuditEntity entity);
    List<AuditEntity> selectListPass(Query query);

    int countPass(Query query);

    AuditEntity selectPassById(@Param("id") Long id);

    int deleteBatchPass(Integer[] ids);

    boolean checkAudit(@Param("uid") Long uid);
}
